﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using ANGFLib;

namespace ANGFSessionWrapper
{
    [Serializable]
    public class QueueBase:MarshalByRefObject
    {
    }
    [Serializable]
    public class QueueMessage : QueueBase
    {
        public readonly string MyName;
        public readonly System.Drawing.Color MessageColor;
        public readonly bool IsDokuhaku;
        public readonly string Message;
        public QueueMessage(Person talkerPerson, string message)
        {
            MyName = talkerPerson.MyName;
            MessageColor = talkerPerson.MessageColor;
            IsDokuhaku = talkerPerson is PersonDokuhaku;
            Message = message;
        }
    }
    [Serializable]
    public class QueueSimpleMenu : QueueBase
    {
        public readonly string Prompt;
        public readonly SimpleMenuItem[] Items;
        public readonly SimpleMenuItem SystemMenu;
        public QueueSimpleMenu(string prompt, SimpleMenuItem[] items, SimpleMenuItem systemMenu)
        {
            Prompt = prompt;
            Items = items;
            SystemMenu = systemMenu;
        }
    }
    [Serializable]
    public class QueueSimpleInputString : QueueBase
    {
        public readonly string Prompt;
        public readonly string DefaultValue;
        public QueueSimpleInputString(string prompt, string defaultValue)
        {
            Prompt = prompt;
            DefaultValue = defaultValue;
        }
    }
}
